package com.feng.msm.controller;

import com.feng.commonutils.R;
import com.feng.msm.service.MsmService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/edumsm/msm")
@CrossOrigin
public class MsmController {
    @Autowired
    private MsmService msmService;

    @PostMapping("send/{phone}")
    public R sendMsm(@PathVariable String phone){
      return   msmService.sendMsm(phone);

    }
}
